package cn.waqwb.bwcar.service;

import cn.waqwb.bwcar.dto.DataGridResult;
import cn.waqwb.bwcar.dto.QueryDTO;
import cn.waqwb.bwcar.pojo.SysMenu;
import cn.waqwb.bwcar.utils.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author JokerQ
 * @date 2019/11/7 - 10:42
 */
public interface MenuService {
    public DataGridResult findMenu(QueryDTO queryDTO);

    public R deleteMenu(List<Long> ids);

    public R selectMenu();

    public R saveMenu(SysMenu sysMenu);

    public R findMenuById(Long menuId);

    public R updateMenu(SysMenu sysMenu);

    public List<String > findPermsByUserId( Long userId);

//    public List<Map<String,Object>> findDirMenuByUserId(Long userId);
//
//    public List<Map<String,Object>> findMenuNotButtonByUserId(Long userId,Long parentId);
    public R findUserMenu(Long userId);
}
